
<!--
  /**************************************************
  * @ orderdetailquery.jsp
  *
  * Copyright   2005 Hitrust Technology Inc.
  * Developed by SDC, Hitrust.
  * All Rights Reserved.
  *
  * Modify History:
  *  v1.00, 2006/03/17, Road Zheng
  *  1) first release
  /**************************************************
-->
<%@page contentType="text/html; charset=UTF-8"%>
<%@ include file="../../common.jsp" %>
<%@ taglib uri="/page.util.gs.hitrust.com/taglibs/page" prefix="page"%>
<%@page import="framework.core.SrvContext"%>
<%@page import="system.LoginContext"%>
<html>
<head>
<title>订单管理</title>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!--<LINK href="<%=root%>/css/css.css" type=text/css rel=stylesheet>-->
<LINK href="<%=root%>/css/caigouxitong.css"" type=text/css rel=stylesheet>
<SCRIPT language="JavaScript" src="<%=root%>/js/common.js"></SCRIPT>
<SCRIPT language="JavaScript" src="<%=root%>/js/string.js"></SCRIPT>
<SCRIPT language="JavaScript">

	function processExport(){
		ordertraceform.action = "<%=response.encodeURL(root+"/A150506.do")%>";
		ordertraceform.submit();
	}

	 function process(val){
		if(val == 'Q'){
			var tStr = "";
			var tEnd = "";
			if(!isEmpty(ordertraceform.orderCreateDateStr.value)){
				tStr = ordertraceform.orderCreateDateStr.value.substr(0,4) + ordertraceform.orderCreateDateStr.value.substr(5,2) + ordertraceform.orderCreateDateStr.value.substr(8,2);

			}
			if(!isEmpty(ordertraceform.orderCreateDateEnd.value)){
				tEnd = ordertraceform.orderCreateDateEnd.value.substr(0,4) + ordertraceform.orderCreateDateEnd.value.substr(5,2) + ordertraceform.orderCreateDateEnd.value.substr(8,2);
			}
			if(parseInt(tStr) > parseInt(tEnd)){
					alert("订单创建周期的开始日期不能大于截至日期！");
					return false;
			}
			ordertraceform.action = "<%=response.encodeURL(root+"/A150502.do")%>";
    		ordertraceform.submit();
		}else if(val == 'C'){
			ordertraceform.orderid.value ="";
			ordertraceform.deliverGoodsId.value="";
			ordertraceform.orderDeptId.selectedIndex=0;
			ordertraceform.orderDetailStatus.value="0000";
			ordertraceform.orderType.value="0000";
			ordertraceform.providerName.value="";
			ordertraceform.concentricityId.value = "";
			ordertraceform.manufInfo.value = "";
			ordertraceform.orderCreateDateStr.value = "";
			ordertraceform.orderCreateDateEnd.value = "";
            ordertraceform.drawingpiececode.value = "";
			ordertraceform.manuftype1.value="0";
			listbox = document.getElementById("manuftype2");
			listbox.length = 0;
			option = new Option();
			option.text = "---二级---";
			option.value = "0";
			listbox.options[listbox.length] = option;
			listbox = document.getElementById("manuftype3");
			listbox.length = 0;
			option = new Option();
			option.text = "---三级---";
			option.value = "0";
			listbox.options[listbox.length] = option;
			
			return false;
		}
	}
</SCRIPT>
<%
		ResultProcess tOrder = (ResultProcess) request.getAttribute("order");
		ArrayList tManuf1 = (ArrayList) request.getAttribute("manufacture1");
		HashMap tMap1 = (HashMap) request.getAttribute("manufacturetyp2");
		HashMap tMap2 = (HashMap) request.getAttribute("manufacturetyp3");
		ResultProcess tGSManuf = (ResultProcess) request.getAttribute("manufacture");
		ArrayList wareList = (ArrayList)request.getAttribute("orderdept");
		
		String tTotalAmount = (String)request.getAttribute("totalAmount");
		
		ArrayList tList = new ArrayList();
		String[] tStr = null;
%>
<script language="JavaScript">
var counter;
function change1(optval){
  var val = optval;
  if(val=='0'){
    var listbox = document.getElementById("manuftype2");
    listbox.length = 0;
    var option = new Option();
    option.text = "---二级---";
    option.value = "0";
    listbox.options[listbox.length] = option;
    change2(optval);
  }else{
      var counter="0";
    <%if(tMap1 !=null){
      Collection tCollection = tMap1.keySet();
      Iterator tIterator = tCollection.iterator();
      while(tIterator.hasNext()){
        String tKey = (String)tIterator.next();
        tList = (ArrayList)tMap1.get(tKey);%>
        if(val == '<%=tKey%>'){
		  counter = "1";
          var listbox = document.getElementById("manuftype2");
          listbox.length = 0;
          var option = new Option();
          option.value = "0";
          option.text = "---二级---";
          listbox.options[listbox.length] = option;
          <%
	          	for(int n=0;n<tList.size();n++){
		            GSManufactureCategoryBean tGSManufactureBean = (GSManufactureCategoryBean)tList.get(n);
		            String categoryId = tGSManufactureBean.getGs_manufacture_category_id();
		            String categoryName = tGSManufactureBean.getGs_manufacture_category_name();%>
		            var temp1 = '<%=categoryId%>';
		            var temp2 = '<%=categoryName%>';
		            var option = new Option();
		            option.value = temp1;
		            option.text = temp2;
		            listbox.options[listbox.length] = option;
           <%
	       		}
           %>
			change2('0');           
         }
         
    <%
    	}
    %>
    	if(counter == '0'){
          var listbox = document.getElementById("manuftype2");
          listbox.length = 0;
          var option = new Option();
          option.value = "0";
          option.text = "---二级---";
          listbox.options[listbox.length] = option;  
          change2('0');    	
    	}
    <%  
    }
    %>
   }
}
    function change2(optval){
      var val = optval;
      if(val=='0'){
        var listbox = document.getElementById("manuftype3");
        listbox.length = 0;
        var option = new Option();
        option.text = "---三级---";
        option.value = "0";
        listbox.options[listbox.length] = option;

      }else{
      	var counter = "0";
        <%if(tMap2 !=null){
          Collection tCollection = tMap2.keySet();
          Iterator tIterator = tCollection.iterator();
          while(tIterator.hasNext()){
            String tKey = (String)tIterator.next();
            tList = (ArrayList)tMap2.get(tKey);%>
            if(val == '<%=tKey%>'){
              counter = "1";
              var listbox = document.getElementById("manuftype3");
              listbox.length = 0;
              var option = new Option();
              option.text = "---三级---";
              option.value = "0";
              listbox.options[listbox.length] = option;
              <%for(int n=0;n<tList.size();n++){
                GSManufactureCategoryBean tGSManufactureBean = (GSManufactureCategoryBean)tList.get(n);
                String categoryId = tGSManufactureBean.getGs_manufacture_category_id();
                String categoryName = tGSManufactureBean.getGs_manufacture_category_name();%>
                var temp1 = '<%=categoryId%>';
                var temp2 = '<%=categoryName%>';
                var option = new Option();
                option.value = temp1;
                option.text = temp2;
                listbox.options[listbox.length] = option;
                <%}%>
              }
          <%
          }
          %>
          if(counter == '0'){
		        var listbox = document.getElementById("manuftype3");
		        listbox.length = 0;
		        var option = new Option();
		        option.text = "---三级---";
		        option.value = "0";
		        listbox.options[listbox.length] = option;          
          }
          <%
            }%>
          }
        }
        function openwin(value){
          showModalDialog("<%=response.encodeURL(root+"/jsp/showimage.jsp")%>?path="+value,window,"status:no;unadorned:yes;dialogWidth:375px;dialogHeight:400px;help:no;");
        }
</script>
</head>
<body LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0"
	MARGINHEIGHT="0">
<p><br>
</p>
<table width="98%" border="0" cellspacing="0" cellpadding="0"
	align="center">
	<tr>
		<td height="20">
		<table width="100%" border="0" cellspacing="0" cellpadding="1">
			<tr height="20">
				<td height="30" width="758" class="mtxt_black">订单查询</td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td class="bg_line" height="2"></td>
	</tr>
</table>
<br>
<form name="ordertraceform" method="get">
<table width="98%" border="0" cellspacing="0" cellpadding="0"
	align="center"></table>
<table class="bg_table" id="Table1" cellspacing="1" cellpadding="0"
	style="PADDING-RIGHT:5px;PADDING-LEFT:5px" width="98%" align="center"
	border="0">
	<TR height="20">
		<TD class="bg_column" align="center">订单明细编号</TD>
		<TD align="left" class="bg_row_odd"><input type="text" name="orderid"
			value="<%=request.getParameter("orderid")==null? "":request.getParameter("orderid") %>">
		</TD>
		<TD class="bg_column" align="center">订单明细状态</TD>
		<TD class="bg_row_odd" align="left"><select name="orderDetailStatus">
			<option value="0000">---全部---</option>
			<%
		ArrayList tOrderDetailStatusList = (ArrayList) request.getAttribute("orderdetailstatuslist");
		String tOrderDetailStatus = request.getParameter("orderDetailStatus");
		if (tOrderDetailStatusList != null && tOrderDetailStatusList.size() > 0) {
			for (int i = 0; i < tOrderDetailStatusList.size(); i++) {
				String[] temp = (String[]) tOrderDetailStatusList.get(i);
				if (tOrderDetailStatus != null && tOrderDetailStatus.equals(temp[0])) {
					%>
			<option value="<%=temp[0]%>" selected><%=temp[1]%></option>
			<%} else {
					%>
			<option value="<%=temp[0]%>"><%=temp[1]%></option>
			<%
				}
			}
		}

		%>
		</select></TD>
	</TR>
	<TR height="20">
		<TD class="bg_column" align="center">订货单位</TD>
		<TD class="bg_row_odd" colspan="3">
        <select name="orderDeptId">
		      <option value="<%=LoginContext.get(new SrvContext(request,response)).getLoginWarehouseCode() %>">---全部---</option>
		      <%
                            String tOrderDept = request.getParameter("orderDeptId")==null?"":request.getParameter("orderDeptId");
                            if(wareList != null && wareList.size() > 0 ){
                                    for(int i=0; i<wareList.size(); i++){
                                        GSWareHouseBean tmp=(GSWareHouseBean)wareList.get(i);
                                        if(tmp != null && tOrderDept.equals(tmp.getCode())){
                            %>
                                            <option value="<%=tmp.getCode()%>" selected>
                                            <%=tmp.getName()%></option>
                            <%                  
                                        }else{
                            %>
                                            <option value="<%=tmp.getCode()%>"><%=tmp.getName()%></option>
                            <%          
                                        }
                                    }
                                }
                        %>
        </select></TD>
	</TR>
	<TR height="20">
		<TD class="bg_column" align="center">集中编码</TD>
		<TD align="left" class="bg_row_odd"><input type="text"
			name="concentricityId"
			value="<%=request.getParameter("concentricityId")==null? "":request.getParameter("concentricityId") %>"></TD>
		<TD class="bg_column" align="center">供应商</TD>
		<TD class="bg_row_odd" align="left"><INPUT type="text"
			NAME="providerName"
			value="<%=request.getParameter("providerName")==null? "":request.getParameter("providerName") %>"></TD>
	</TR>
	<tr>
		<TD class="bg_column" align="center">产品信息</TD>
		<TD class="bg_row_odd" colspan="3"><INPUT type="text" NAME="manufInfo"
			value="<%=request.getParameter("manufInfo")==null? "":request.getParameter("manufInfo") %>">
		（ <FONT color="#ff0033">对产品名称、型号、规格、品牌、生产厂商、附加属性等关键字的模糊查询</FONT> ） &nbsp;</TD>
	</tr>
	<TR height="20">
		<TD class="bg_column" align="center">产品分类</TD>
		<TD align="left" class="bg_row_odd" colspan="3">
        <select	name="manuftype1" onChange="change1(this.value)">
			<option value="0">---一级---</option>
			<%String tManufType1 = request.getParameter("manuftype1");
		if (tManuf1 != null && tManuf1.size() > 0) {
			for (int i = 0; i < tManuf1.size(); i++) {
				GSManufactureCategoryBean tGSManufactureBean = (GSManufactureCategoryBean) tManuf1.get(i);
				if (tManufType1 != null && tManufType1.equals(tGSManufactureBean.getGs_manufacture_category_id())) {
					%>
			<option
				value="<%=tGSManufactureBean.getGs_manufacture_category_id()%>"
				selected><%=tGSManufactureBean.getGs_manufacture_category_name()%></option>
			<%} else {
					%>
			<option
				value="<%=tGSManufactureBean.getGs_manufacture_category_id()%>"><%=tGSManufactureBean.getGs_manufacture_category_name()%>
			</option>
			<%
				}
			}
		}

		%>
		</select> <select id="manuftype2" name="manuftype2"
			onChange="change2(this.value)">
			<option value="0">---二级---</option>
			<%String tManufType2 = request.getParameter("manuftype2");
		if (tManufType1 != null && !tManufType1.equals("0")) {
			ArrayList temp = (ArrayList) tMap1.get(tManufType1);
			if (temp != null && temp.size() > 0) {
				for (int i = 0; i < temp.size(); i++) {
					GSManufactureCategoryBean tGSManuf2 = (GSManufactureCategoryBean) temp.get(i);
					if (tManufType2 != null && tManufType2.equals(tGSManuf2.getGs_manufacture_category_id())) {
						%>
			<option value="<%=tManufType2%>" selected><%=tGSManuf2.getGs_manufacture_category_name()%>
			</option>
			<%} else {
						%>
			<option value="<%=tGSManuf2.getGs_manufacture_category_id()%>"><%=tGSManuf2.getGs_manufacture_category_name()%>
			</option>
			<%
					}
				}
			}
		}

		%>
		</select> <select name="manuftype3" id="manuftype3">
			<option value="0">---三级---</option>
			<%String tManufType3 = request.getParameter("manuftype3");
		if (tManufType2 != null && !tManufType2.equals("0")) {
			//int tIntManufType3 = Integer.parseInt(tManufType3);
			ArrayList temp = (ArrayList) tMap2.get(tManufType2);
			if (temp != null && temp.size() > 0) {
				for (int i = 0; i < temp.size(); i++) {
					GSManufactureCategoryBean tGSManuf3 = (GSManufactureCategoryBean) temp.get(i);
					if (tManufType3 != null && tManufType3.equals(tGSManuf3.getGs_manufacture_category_id())) {
						%>
			<option value="<%=tGSManuf3.getGs_manufacture_category_id()%>"
				selected><%=tGSManuf3.getGs_manufacture_category_name()%></option>
			<%} else {
						%>
			<option value="<%=tGSManuf3.getGs_manufacture_category_id()%>"><%=tGSManuf3.getGs_manufacture_category_name()%>
			</option>
			<%
					}
				}
			}
		}
		%>
		</select></TD>
	</TR>
        <%
        SimpleDateFormat bartDateFormat = new SimpleDateFormat("yyyy-MM-dd");
        Date d = new Date();
        String strNow = String.valueOf(bartDateFormat.format(d));
        long l=(long)259200*(long)10000;
        Date d2 = new Date(System.currentTimeMillis()-l);
        String strMothAgo = String.valueOf(bartDateFormat.format(d2));
        %>   
	<TR height="20">
		<TD class="bg_column" align="center">创建时间</TD>
		<TD align="left" class="bg_row_odd">
		
		<%=framework.custom.UIManager.generateDateInput("orderCreateDateStr",
							request.getParameter("orderCreateDateStr")==null?strMothAgo:request.getParameter("orderCreateDateStr"))%>
					
					至
		<%=framework.custom.UIManager.generateDateInput("orderCreateDateEnd",
							request.getParameter("orderCreateDateEnd")==null?strNow:request.getParameter("orderCreateDateEnd"))%>
					
				
		</TD>
            <td class="bg_column" align=center >图件号</td>
            <td align=left class="bg_row_odd" >
            <input type="text" name="drawingpiececode" value="<%=request.getParameter("drawingpiececode")==null? "":request.getParameter("drawingpiececode") %>">
            </td> 
	</TR>
	<TR height="20">
		<TD class="bg_column" align="center">送货单号</TD>
		<TD align="left" class="bg_row_odd"><INPUT type="text"
			NAME="deliverGoodsId"
			value="<%=request.getParameter("deliverGoodsId")==null? "":request.getParameter("deliverGoodsId") %>"></TD>
		<TD class="bg_column" align="center">订单类型</TD>
		<TD align="left" class="bg_row_odd"><select name="orderType">
			<option value="0000">---全部---</option>
			<%
		ArrayList tOrderTypeList = (ArrayList) request.getAttribute("ordertypelist");
		String tOrderType = request.getParameter("orderType");
		if (tOrderTypeList != null && tOrderTypeList.size() > 0) {
			for (int i = 0; i < tOrderTypeList.size(); i++) {
				String[] temp = (String[]) tOrderTypeList.get(i);
				if (tOrderType != null && tOrderType.equals(temp[0])) {
					%>
			<option value="<%=temp[0]%>" selected><%=temp[1]%></option>
			<%} else {
					%>
			<option value="<%=temp[0]%>"><%=temp[1]%></option>
			<%
				}
			}
		}

		%>
		</select></TD>
	</TR>
</table>
<%int totalRecords = 0;
if (tOrder != null) {
    
    if(request.getAttribute("totalRecords")!=null){
        totalRecords=Integer.parseInt((String)request.getAttribute("totalRecords"));
    }
    int defaultPageSize =10;
    if(request.getAttribute("pageSize")!=null){
        defaultPageSize=Integer.parseInt((String)request.getAttribute("pageSize"));
    }
tList = tOrder.getAllRecoreds();            
%> 
<page:pager total='<%=totalRecords%>' defaultPageSize='<%=defaultPageSize%>'></page:pager>
<%} %>
</form>
<p align="center">
		<input type="button" name="查询" value="查询" class="kuang" onclick="process('Q')"/>&nbsp;
		<input type="button" name="清空" value="清空" class="kuang" onclick="process('C')"/>&nbsp;
		<input type="button" name="导出" value="导出" class="kuang" onclick="processExport()"/>&nbsp;
</p>
<br>
<%

		if (tOrder != null) {

			%>
<table width="98%" border="0" cellspacing="0" cellpadding="0"
	align="center">
	<tr>
		<td>

            <form name='pager' method="post">
            <input type="hidden" name="totalRecords" value="<%=totalRecords%>">
			<table class='bg_table' id='tableId' cellspacing='1' cellpadding='2' width='100%' align='center' border='0'>
				<tbody>
					<tr class="bg_column" height="20">
						<td class="top" align="center" colSpan="19"><b>订单信息列表</b></td>
					</tr>
					<tr class="bg_column" height="20">
						<td class="top" align="center">
						<div class="txt_content" align="center">订单明细编号</div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center">集中编码</div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center">产品名称</div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center">产品类型</div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center">规格</div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center">型号</div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center">品牌</div>
						</td>
                        <td class="top" align="center">
                        <div class="txt_content" align="center">图件号</div>
                        </td>
						<td class="top" align="center">
						<div class="txt_content" align="center">供应商</div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center">订货数量</div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center">订单明细状态</div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center">创建时间</div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center">订货单位</div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center">单价（元）</div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center">总价（元）</div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center">送货日期</div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center">送货时间</div>
						</td>
                        <td class="top" align="center">
                        <div class="txt_content" align="center">结算模式</div>
                        </td>
						<td class="top" align="center">
						<div class="txt_content" align="center">详细</div>
						</td>
					</tr>
		<%
			if (tList != null && tList.size() > 0) {
				for (int i = 0; i < tList.size(); i++) {
					GSOrderAnaDetailAndCategoryBean tGSOrderVO = (GSOrderAnaDetailAndCategoryBean) tList.get(i);
					String tTempStr = "";
					if (i % 2 == 0) {
						tTempStr = "class=\"bg_row_odd\"";
					} else {
						tTempStr = "class=\"bg_row_even\"";
					}
					int size = 0;
		%>
					<tr <%=tTempStr%> height=20>

						<td class="top" align="center">
						<div class="txt_content" align="center"><%=tGSOrderVO.getGs_order_detail_id()%></div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center"><FONT face="宋体"><%=tGSOrderVO.getGs_concentricity_id()%></FONT>
						</div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center"><a
							href="<%=response.encodeURL(root+"/A150103.do")%>?concentricityId=<%=tGSOrderVO.getGs_concentricity_id()%>"
							target="_blank"><%=tGSOrderVO.getName_product()%></A></div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center"><%=GSBaseManager.getProductTypeByCode(tGSOrderVO.getIs_normal())%></div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center"><%=tGSOrderVO.getSpec()%></div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center"><%=tGSOrderVO.getModel()%></div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center"><%=tGSOrderVO.getProduct_brand()%></div>
						</td>
                        <td>
                        <div class="txt_content" align="center">
                            <%=tGSOrderVO.getDrawing_piece_code()%>
                        </div>
                        </td>
						<td class="top" align="center">
						<div class="txt_content" align="center"><a
							href="<%=response.encodeURL(root+"/A150504.do")%>?providerId=<%=tGSOrderVO.getGs_provider_id()%>"
							target="_blank"><%=tGSOrderVO.getName()%></a>
						</div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center"><%=StringUtils.format(tGSOrderVO.getGs_order_count(),2)%><%=tGSOrderVO.getProduct_unit()%></div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center"><%=GSBaseManager.getOrderDetailStatusName(tGSOrderVO.getGs_order_detail_status())%></div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center"><%=tGSOrderVO.getGs_order_create_date()%></div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center"><%=tGSOrderVO.getName_warehouse()%></div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center"><%=StringUtils.format(tGSOrderVO.getGs_goods_unitprice(),4)%></div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center"><%=StringUtils.format(tGSOrderVO.getGs_order_count()*tGSOrderVO.getGs_goods_unitprice(),4)%></div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center"><%=tGSOrderVO.getGs_deliver_goods_date()%></div>
						</td>
						<td class="top" align="center">
						<div class="txt_content" align="center"><%=tGSOrderVO.getDeliverGoodsTimeInfo(tGSOrderVO.getGs_deliver_goods_time())%></div>
						</td>
                        <td class="top" align="center">
                        <div class="txt_content" align="center">
                        <%=DefineDic.getBalanceMode(tGSOrderVO.getGs_balance_mode())%></div>
                        </td>
						<td class="top" align="center">
						<div class="txt_content" align="center"><a
							href="<%=response.encodeURL(root+"/A150505.do")%>?orderId=<%=tGSOrderVO.getGs_order_tempid_order()%>&orderDetailId=<%=tGSOrderVO.getGs_order_detail_id()%>"
							target="_blank">详细</A></div>
						</td>
					</tr>
					<%
				}

			%>
					<tr class="bg_column" height=20>
						<td width="960" height="16" colspan="19" align="right"><!--导航条-->
						<page:navigator type='text' queryForm='ordertraceform'/> 总金额：<%=tTotalAmount %>元</td>
					</tr>
					<%} else {

			%>
                    <tr class="bg_column" height=20>
                        <td width="960" height="16" colspan="19" align="right">
                        <font color="red">没有符合条件的产品订单信息</font>
                        </td>
                    </tr>
					
					<%}

		%>
				</tbody>
			</table>
		</form></td>
	</tr>
</table>
<%}
%>
</body>
</html>
